import { NgModule } from '@angular/core';
import { CommonModule }   from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';

import { BearingComponent } from './bearing.component';
import { BearingListComponent } from './bearing-list.component';
import { BearingDetailComponent } from './bearing-detail.component';
import { BearingAddComponent } from './bearing-add.component';
import { TableComponent } from '../table/table.component';

import { PlaceholderComponent } from './placeholder.component';

import { BearingService } from '../scheme/bearing.service';

import { bearingRouting,bearingRoutingProviders } from './bearing.routing';

import { AddCasesPipe } from '../pipe/add-cases.pipe';

@NgModule({
	imports: [
		CommonModule,
		bearingRouting,
		FormsModule,
		ReactiveFormsModule
	],
	declarations: [
		BearingComponent,
		BearingListComponent,
		BearingDetailComponent,
		BearingAddComponent,
		TableComponent,
		PlaceholderComponent,
		AddCasesPipe
	],
	providers: [
		bearingRoutingProviders,
		BearingService
	]
})
export class BearingModule { }
